package com.power.feign.sentinel;

import com.power.domain.Member;
import com.power.feign.ProdMemberFeign;
import com.power.model.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Description ProdMemberFeignSentinel
 * @Author dingchunlin
 * @Date 2024/07/22 11:33
 * @Version 1.0.0
 */
@Component
@Slf4j
public class ProdMemberFeignSentinel implements ProdMemberFeign {
    @Override
    public Result<List<Member>> getMemberListByOpenIds(List<String> openIds) {
        log.error("远程调用：根据会员openId获取会员列表失败，触发熔断机制");
        return null;
    }
}
